<div>
	<juci-config-lines>
		<juci-config-line title="{{'Name'|translate}}">
			<input type="text" class="form-control" ng-model="share.name.value"/>
		</juci-config-line>
		<juci-config-line title="{{'Path'|translate}}">
			<div class="input-group">
				<span class="input-group-addon">/mnt</span>
				<input type="text" class="form-control" ng-model="data.model" 
					typeahead="address for address in onAutocomplete($viewValue)" 
					typeahead-loading="loadingLocations" 
					typeahead-no-results="noResults" />
				<i ng-show="loadingLocations" class="glyphicon glyphicon-refresh"></i>
				<div ng-show="noResults">
				  <i class="glyphicon glyphicon-remove"></i> No Results Found
				</div>
			</div>
			<button class="btn btn-default pull-right" style="margin:5px;" ng-click="onAddFolder()"><i class="fa fa-plus"></i></button>
		</juci-config-line>
		<juci-config-line title="{{'Allowed users'|translate}}">
			<dropdown-multi-select input-model="users.all" output-model="users.out" button-label="label" item-label="label"
							on-open="reloadUsers()" tick-property="selected">
			</dropdown-multi-select>
		</juci-config-line>
		<juci-config-line title="{{'Allow Guest Access'|translate}}">
			<switch ng-model="share.guest_ok.value" class="green"/>
		</juci-config-line>
		<juci-config-line title="{{'Read only?'|translate}}">
			<switch ng-model="share.read_only.value" class="green"/>
		</juci-config-line>
	</juci-config-lines>
</div>
